package com.example.layui.entity;

import com.example.layui.vo.MenuVo;

import java.util.List;

public class Menu {
    /* */
    private Integer id;

    /* 父类ID*/
    private Integer parentId;

    /* 菜单名称*/
    private String name;

    /* 字体*/
    private String font;

    /* 菜单图标*/
    private String icon;

    /* 地址*/
    private String url;

    /* 是否显示*/
    private Boolean isShow;

    /* 是否公共*/
    private Boolean isPublic;

    /* 等级*/
    private Boolean level;

    /* 排序*/
    private Short sortOrder;

    /* 一级应用类目*/
    private Short appId;

    /* 二级应用类目*/
    private Short actId;

    /* 创建人*/
    private Integer creator;

    /* 修改人*/
    private Integer updater;

    /* 添加时间*/
    private Integer addtime;

    /* 修改时间*/
    private Integer edittime;

    /* */
    private String param;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFont() {
        return font;
    }

    public void setFont(String font) {
        this.font = font;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    public Boolean getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Boolean isPublic) {
        this.isPublic = isPublic;
    }

    public Boolean getLevel() {
        return level;
    }

    public void setLevel(Boolean level) {
        this.level = level;
    }

    public Short getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Short sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Short getAppId() {
        return appId;
    }

    public void setAppId(Short appId) {
        this.appId = appId;
    }

    public Short getActId() {
        return actId;
    }

    public void setActId(Short actId) {
        this.actId = actId;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public Integer getUpdater() {
        return updater;
    }

    public void setUpdater(Integer updater) {
        this.updater = updater;
    }

    public Integer getAddtime() {
        return addtime;
    }

    public void setAddtime(Integer addtime) {
        this.addtime = addtime;
    }

    public Integer getEdittime() {
        return edittime;
    }

    public void setEdittime(Integer edittime) {
        this.edittime = edittime;
    }

    public String getParam() {
        return param;
    }
    private List<Menu> children;
    public void setChildren(List<Menu> children) {
        this.children = children;
    }

    public List<Menu> getChildren() {
        return this.children;
    }
    public void setParam(String param) {
        this.param = param;
    }
}